package cn.jtool.dig.common.enums;

import cn.jtool.knife.core.enums.BaseCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum TunnelResultCode implements BaseCode<Integer> {

    SUCCESS(0, "成功"),
    FAIL(1, "失败"),
    LICENSE_ON_LINE(101, "授权已在线"),
    LICENSE_DISABLE(102, "授权被禁用"),
    LICENSE_NOT_EXIST(103, "授权不存在"),
    LICENSE_EXPIRED(104, "授权已过期"),
    LICENSE_NOT_EFFECTIVE(105, "授权未生效"),
    ;


    private final Integer code;
    private final String desc;

}
